Learn R Programming

TPXG (version 1.0)

Inverse Cumulative Density Function of the TPXG Distribution: Inverse Cumulative Density Function of the TPXG Distribution

Description

Computes the inverse cumulative density function of the Two-Parameter Xgamma distribution for given probabilities.

Usage

qtpxg(p, alpha = 1, theta = 1 , tol = 1e-5)

Value

A numeric vector containing the inverse cumulative density function values of the TPXG distribution for each of the given values of x.

Arguments

p

A numeric vector containing values in [0,1].

alpha

A positive real number.

theta

A positive real number

tol

A positive real number specifying the tolerance level for the convergence of the Newton-Raphson algorithm.

Author

Nikolaos Kontemeniotis.

R implementation and documentation: Nikolaos Kontemeniotis kontemeniotisn@gmail.com and Michail Tsagris mtsagris@uoc.gr.

Details

This function uses the Newton-Raphson algorithm in order to estimate the inverse cumulative density function.

References

"Sen, S., Chandra, N. and Maiti, S. S. (2018). On properties and applications of a two-parameter XGamma distribution. Journal of Statistical Theory and Applications, 17(4): 674--685."

See Also

dtpxg,ptpxg,rtpxg

Examples

Run this code
p <- runif(100)
qtpxg(p, 1, 1)

Run the code above in your browser using DataLab